package Day35.map;

import java.util.TreeMap;

public class TreeMapDemo {
    public static void main(String[] args) {
        //创建TreeMap对象
        TreeMap<String,String> treeMap = new TreeMap<>();
        treeMap.put("xxx","aaa");
        treeMap.put("aaa","xxx");
        treeMap.put("ooo","uuu");
        treeMap.put("uuu","ooo");
        System.out.println(treeMap);
    }
}
